home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 21 / AACD 21.iso / AACD / Programming / MuScan / ReadMe < prev    next >
Text File  |  2001-04-15  |  65KB  |  1,383 lines

  1. The mmu.library project © 1998-2001 the mmu.library development group, THOR
  2. -----------------------------------------------------------------------------
  3.  
  4. Release 42.6
  5. ---------------
  6.     - mmu.library: Fixed some very rare problems on access errors of
  7.       pre-decrement movems for both the 68040 and the 68060.
  8.     - MuMove4k: The PREPAREEMUL (without the A1200 switch) option was
  9.       broken and might have caused crashes on a reboot. MuMove4K 
  10.       installs now itself into MEMF_KICK and no longer MEMF_CHIP. If
  11.       this causes problems on your machine, try the INCHIPMEM option.
  12.     - MuFastZero: If ExecBase was remapped by means of the FastExec
  13.       option, installation of reset-proof programs behind MuFastZero
  14.       failed since these programs installed only into the non-resident
  15.       copy of ExecBase. MuFastZero includes now a patch to SumKickData()
  16.       which will avoid this problems.
  17.     - MuForce: MuForce installed an interrupt handler directly into
  18.       the autovector base which is not very system friendly. Fixed by
  19.       using the official interrupt handler. If MuForce crashes on exit,
  20.       disable your favourite "SaferPatches" clone and either avoid these
  21.       tools, or get "TRSaferPatches.lha" from Aminet.
  22.     - MuGuardianAngel: Supports now some not yet available memory pool
  23.       enhancement patches.
  24.     - P5Init: Fixed a potentially dangerous unaligned CopyMemQuick().
  25.     - A new MuLib based, tested and VMM aware 68060.library is now
  26.       available.
  27.     - Included a new tool, MuProtectModules. This will write-protect
  28.       resident modules loaded by "LoadModule". (See Aminet).
  29.     - MuEVD: Forgot an ATC table flush, result might have been partial
  30.       display gliches caused by erraneously dropped refresh cycles.
  31.     - FPU: Forgot to include this FPU control program. Fixed.
  32.     - 680x0.library: Did not identify a 68060 FPU correctly if used
  33.       to bootstrap the 68060.library by the patched SetPatch.
  34.     - 68060.library: Fixed a fatal bug in the fpsp core that could cause
  35.       crashes and hangs on execution of fscc instructions.
  36.     - 68060.library: Included a replacement function for CacheClearU()
  37.       since a 68060 version might not be available.
  38.     - 68040/68060.library: Included a new and improved CacheClearE()
  39.       function. Especially gvpscsi and omnscsi owners might profit
  40.       from this improvement.
  41.     - Included PatchWork 0.15 from Richard Körber. Thanks, Richard!
  42.     - Updated the documentation and the include files.
  43.     - Added the IGNORE keyword to MuFastZero.
  44.  
  45. Release 42.4.1
  46. ---------------
  47.     - CPU libraries: The FPU test was super-critical and failed if the
  48.       FPU could not complete a float->integer conversion before 
  49.       starting a concurrent frestore.
  50.     - CPU libraries: The GetMsg() replacement is now more conservative
  51.       and will return NULL in case the message list of the port is not
  52.       properly initialized or the linkage field of a node is (incorrectly) 
  53.       NULL. Thanks Ian!
  54.  
  55. Release 42.4
  56. ---------------
  57.     - Fixed several flaws of the 68060.library: Several cache flushes
  58.       have been missing, FPU setup has been fixed as well.
  59.     - Fixed the installer script: FixCybAccess must be "run" in 
  60.       background.
  61.     - MuGuardianAngel did not record the return PC correctly for the
  62.       pooled memory allocations.
  63.     - The mmu.library crashed on a plain 68000. Fixed.
  64.  
  65. Release 42.3
  66. ---------------
  67.     - Included an alpha release of a new 68060.library which provides a
  68.       fpsp.resource and is virtual memory aware. This alpha release can
  69.       be found in the LIBS/alpha directory.
  70.       Thanks goes to Stephen Brookes and Etienne Vogt for performing
  71.       some tests. Note though that I do not own a 68060 and could not
  72.       test this library for correctness.
  73.  
  74.     - Included a MMU driven ShapeShifter video driver, MuEVD. (new)
  75.     - MuGuardianAngel: Does no longer call RawIOInit() and hence will
  76.       no longer conflict with programs using the serial port even in
  77.       cases MuGuardianAngel never required the port in first place.
  78.     - MuForce: Does no longer call RawIOInit() but fully relies on the
  79.       Os and/or the user to initialize the serial port correctly, in the
  80.       same way the old Enforcer did. This means that MuForce will now
  81.       safely cooperate with software that requires the serial port in
  82.       cases MuForce output goes to the parallel port or other 
  83.       destinations.
  84.     - Note that there is now a new release of "BlizKick" which fixes 
  85.       the problems mentioned below.
  86.     - Updated the documentation, fixed a minor mistake in the MMU
  87.       developer's manual.
  88.     - Included an upgrade patch from SetPatch 44.13 to 44.14 which, once
  89.       again, opens the 680x0.library instead of the 68040.library.
  90.       The RamLibFix is then no longer required since it is included now
  91.       in SetPatch anyhow.
  92.     - MuGuardianAngel: The DUMPLIST routine had a bug and might have
  93.       allocated too less memory. Luckely, this had the only side effect
  94.       that not all of the mung list would have been dumped correctly, it
  95.       did not trash any memory.
  96.     - MuGuardianAngel: The DUMPLIST option now also makes use of the 
  97.       SegTracker to print segment/hunk information of the allocating
  98.       routine.
  99.     - Installation scripts: Due to a bug in the BuildMMUConfig.rexx
  100.       script, the on-board hardware of certain P5 boards has been disabled
  101.       completely. Urgl.
  102.     - mmu.library: Added a new command for the ENVARC:MMU-Configuration,
  103.       "FOR". It executes the command given as argument if the manufacturer
  104.       product code fits, possibly several times if more than one board is
  105.       in the machine.
  106.     - mmu.library: The MMU-Configuration file can now be put into DEVS: as
  107.       well since some people seem to have problems with the library and
  108.       HappyEnv.
  109.     - mmu.library: Added another new command "ClearMMU" which will re-run
  110.       the MMU setup procedure at least partially. The intention behind 
  111.       this is to override or ignore a previously loaded MMU tree at least
  112.       partially in places where it is sub-optimal or incorrect. This seems
  113.       to be required by some Apollo boards.
  114.     - mmu.library: EnterContext() and LeaveContext() are no longer running
  115.       into the risk of breaking a Forbid(), provided AllocMem() doesn't.
  116.       NOTE THAT I NEVER DOCUMENTED THIS FEATURE ANYHOW.
  117.       This might help for some critical applications where a launched task
  118.       must run in a new context.
  119.       Due to a feature of exec, you cannot enter a context before you
  120.       AddTask() a new task, sigh.
  121.     - mmu.library: Due to a trashed register, the library crashed upon
  122.       detection of an 68040 or 68060 with a disabled or otherwise non-
  123.       functional MMU. Note that it would have detected the EC processors
  124.       correctly, though, including the 68EC030. This release should do 
  125.       better. Thanks to Pavel for detecting this.
  126.     - Fixes: Added a fix to repair the UMult64()/SMult64() bug of the Os
  127.       for the 68000 and 68010 processors. Not required for the up-to-date
  128.       release of SetPatch, but otherwise recommended.
  129.     - mmu.library: AddConfigDev() is now supported, but the implementation
  130.       depends on some internals of the expansion.library. Hopefully, 
  131.       nobody will change them. The MuLib tries to check whether the ROM
  132.       function is still installed. In case it is, the code will jump into
  133.       the old ROM code. In case it isn't, a replacement routine is used.
  134.     - 680x0.libraries: AddConfigDev() is now passed thru, presumably to the
  135.       mmu.library function.
  136.     - Installation: Finally, wrote a (rather complicated) installation
  137.       script for automated installation.
  138.     - Included various fixes for the BVisionPPC driver and more "software
  139.       fluff" for the installation process.
  140.     - 68040.library: Impoved the GetMsg() workaround for programs that
  141.       call GetMsg() in a tight loop.
  142.     - 68040.library: Fixes now a bug in the mathieeesingbas.library 
  143.       which doesn't use a FPU since it is setup before this library is
  144.       setup.
  145.  
  146.  
  147. Release 42.2
  148. ---------------
  149.     
  150.     - The 42.1 release automatically marked all hardware pages as
  151.       cacheinhibited serialized. Looks like even that was too much for
  152.       some hardware boards, I don't know why. This should be the proper
  153.       default anyhow. I disabled this again, even though this means,
  154.       as for 42.0 and before, that a MMU-Configuration is *mandatory*
  155.       if you use the library as "stand-alone" instead on top of a third-
  156.       party 68040/68060 library.
  157.  
  158. Release 42.1
  159. ---------------
  160.  
  161.     - MuFastChip: Forgot to include the latest mmu.library in the latest
  162.       upload. Sorry.
  163.     - Installation: P5Init, PPCIdentify, P5Identify reworked again, it
  164.       enables now explicitly the bus error generation of the A4000
  165.       motherboard resources.
  166.     - Installation Rexx scripts: Added a "NoP5" keyword to disable ex-
  167.       plicitly the P5 identification steps which seem to be problematic
  168.       for some boards for reasons that are beyond me.
  169.     - MuManual: Fixed some typos, corrected some mistakes, clarified some
  170.       formulations. Thanks to Etienne Voigt for proofreading!
  171.     - Organization: The "MMULib" archive is now the user archive, all
  172.       developer information went into the "MuManual" archive, including
  173.       the autodocs, the includes, the bmaps and some example sources.
  174.       This will help to keep the archive short.
  175.     - mmulib: The CurrentContext() function forgot to Forbid() properly.
  176.       Note that you still need a Forbid() bracketing or the result code
  177.       might be pretty useless. The propability that this broke code is
  178.       very low, though.
  179.     - mmulib: GetMappingProperties() was simply broken in V42.0 and below.
  180.       Sorry, this got fixed. This function hasn't been used yet, so this
  181.       bug was left unnoticed.
  182.     - mmulib: Even if "ClearTTX" is missing in the MMU-Configuration, the
  183.       library cache-inhibits now the access to expansion boards. This is
  184.       just a safety bonus.
  185.     - Included a debug version of the library in the MuManual archive.
  186.     - BlizKick: In order to avoid a yellow alert, either BlizKick must be
  187.       modified or must be run behind SetPatch. The reason for the alert
  188.       is that BlizKick opens the mmu.library before the 68060/68040 lib
  189.       is open, which is and never has been legal. I just added an explicit
  190.       check for this condition in V42 because too many people ignored it.
  191.       As I said, "no discussion". This is a side effect of how the library
  192.       works and has to work.
  193.  
  194. Release 42.0
  195. ---------------
  196.  
  197.     - mmu.library: Added more error checking for the startup code, esp.
  198.       the MMU-Configuration file. Added a check for proper config-
  199.       uration, i.e. whether the library was (incorrectly) loaded in
  200.       front of SetPatch.
  201.     - Added a new function: RunOldConfig(). It runs a small supervisor
  202.       routine with the boot MMU configuration.
  203.     - 68040.library: Added an explicit check for correct configuration,
  204.       it will generate a requester in case no 68040 is available.
  205.     - MuGuardianAngel: Fixed a bug in the mung-wall check which could 
  206.       have reported one additional mung-wall damage in case the front 
  207.       wall was found defective. Added a workaround for a possible 
  208.       68060 firmware bug, the "U" bit is now always set in the MMU
  209.       descriptors to avoid unnecessary MMU writebacks.
  210.     - In case you see MuGuardianAngel hits of the z3scsi.device, run
  211.       the FixCybAccess program. It will work around the z3scsi.device 
  212.       hits as well. Thanks, Helmut.
  213.     - MuMove4K PREPAREEMUL moves now the low chip memory end to the
  214.       16K line, not to the 8K line. This might fix some Fusion
  215.       problems. Thanks, Pavel.
  216.     - Improved the error messages of MuFastZero a little bit.
  217.     - Reworked P5Identify and PPCIdentify to make these two more
  218.       stable.
  219.     - Added another external MMU setup command, P5Init. It should 
  220.       keep care about all P5 specific cache settings and should
  221.       setup the PPC and the BOOT-MMU-Port automatically. All manual
  222.       P5 specific entries in the MMU-Configuration except graphic 
  223.       board cachings are obsolete now and should be replaced by
  224.       P5Init.
  225.     - Rewrote both setup scripts to reflect the changes in the P5
  226.       setup logic, i.e. ScanMMUPort has been replaced by P5Init and
  227.       all P5 specific cache settings have been removed.
  228.     - Added stack increasement patches for the mfm.device (CrossDos)
  229.       and IPrefs 40.7 in case you do not yet use Os 3.5. Thanks Gene.
  230.     - Added a fix for two bugs in ramlib. First, its stack is too
  231.       low. Second, it uses SIGF_SINGLE as message bit for its process
  232.       port which could cause some race conditions with semaphores in
  233.       library setup code.
  234.     - The MuGuardianAngel patch report and automatic IRQ check have 
  235.       been reworked a bit. The "patches overwritten" message is now
  236.       no longer periodically generated, but will be suspended up to
  237.       the next "real" hit where another message will be generated.
  238.     - The MuGuardianAngel automatic IRQ stack was not only useless,
  239.       but in fact broken. This does not go for the stack check of the
  240.       exec memory handling functions which was and still is fine.
  241.       Good enough it was recommended to leave the IRQ check disabled. 
  242.       "Nearly out of stack" warnings were not generated by the IRQ code 
  243.       at all, and the stack overflow and stack underflow messages
  244.       usually report "bogus" hits due to its construction. Stack 
  245.       snooping is now by default ENABLED, except for "out of bounds"
  246.       reports, which still requires STACKSNOOP option explicitly.
  247.       Added an option to adjust the minimal stack size for the
  248.       "Nearly out of stack" reports, but it can be made only larger,
  249.       i.e. more "picky".
  250.     - mmu.library: The pre-42 releases only marked the zero page as
  251.       non-blank which might have caused problems for some Mac emu-
  252.       lators. It now marks the lowest 32K as valid. Former versions
  253.       set it to "cacheinhibit", it is now set to "cacheinhibit nonser-
  254.       ialized imprecise".
  255.     - mmu.library: The low-memory limit up to which the mmu.library
  256.       has to software-emulate accesses has been made adjustable.
  257.     - mmu.library: Due to a bug in the high-level mapping list manage-
  258.       ment, MAPP_INDIRECT did not work correctly.
  259.     - mmu.library: BuildIndirect() performs now a few more consistency
  260.       checks and is less restrictive for MAPP_INVALID and MAPP_SWAPPED.
  261.     - Updated the DMAInitiate() function, it provides now a return code
  262.       instead going guru if it doesn't like the parameters.
  263.     - Updated MuOmniSCSIPatch to reflect the changes made to 
  264.       DMAInitiate().
  265.     - Fixed many documentation errors in mmu.doc, updated and checked
  266.       exception.doc again.
  267.     - Included a demo program for indirect descriptor handling.
  268.     - Speedup SetIndirect() somewhat by placing this routine directly
  269.       in the MMU drivers as a "native" operation.
  270.     - Added a new LVO "SetIndirectArray()" to set more than one
  271.       indirect descriptor at once. Should be *very* fast.
  272.     - The startup command "DescriptorCacheInhibit" did not pass a proper
  273.       result code on success and hence caused a yellow alert. This bug
  274.       was only noticable in some of the V42 betas where proper result
  275.       code checking was introduced.
  276.     - mmu.library: WithoutMMU() disables now the CPU caches as well to
  277.       allow a safe access to non-cacheable addresses.
  278.     - MuFastZero: In case MuFastZero is removed (why?) the unmapped chip
  279.       memory is set to IMPRECISE and NONSERIALIZED to provide at least
  280.       a minimal speedup.
  281.     - Added "AmigaGuide" versions of the autodocs.
  282.     - Included a new version of BPPCFix by Frank Wille. Thanks, Frank!
  283.       Using this program will allow you to replace the ROM-based
  284.       libraries of the Blizzard-Boards.
  285.       Thanks Stephen for working this out, and for making this trick
  286.       possible!
  287.     - Included a "RKRM" style manual and tutorial for the MuLib in "dvi"
  288.       and "postscript" format.
  289.  
  290. Release 41.4
  291. ---------------
  292.  
  293.     - mmu.library: The CachePre/PostDMA() functions are now a bit more 
  294.       error tolerant and handle cases where a DMA device attempts DMA 
  295.       transfer to a non-existing memory region more gracefully.
  296.     - 680x0.library: Sets now the memory attributes of the supposed-to-
  297.       be remapped low-memory header to MEMF_FAST instead to 0 to avoid
  298.       a zero return value of TypeOfMem().
  299.     - MuFastZero: Sets now the memory attributes of the supposed-to-
  300.       be remapped low-memory header to MEMF_FAST instead to 0 to avoid
  301.       a zero return value of TypeOfMem(). Lowered the priority of the
  302.       rendezvous port.
  303.     - FastIEEE: Optimized the IEEEDPFloor and IEEESPFloor in case a 060
  304.       processor has been found. Note that this makes currently no
  305.       difference at all since there is currently no 68060.library that
  306.       provides the fpsp.resource.
  307.  
  308.     
  309. Release 41.3
  310. ---------------
  311.  
  312.     - disassembler.library:    fmovem.x <dynamiclist>,memory was disassembled
  313.       incorrectly. Fixed.
  314.     - mmu.library: SetPropertiesMapping() accepts now base=0 and lenght=0
  315.       as a special case to transfer the complete list.
  316.     - 68040.library: Removed some unnecessary strings and references to the
  317.       math libraries. 
  318.     - mmu.library: Added workarounds for possible DMA disable counter under-
  319.       runs that might have happened in case the library gets active while 
  320.       DMA is active. 
  321.     - MuMove4K: Added more options:
  322.       IGNOREVERIFY/S    Disables the verify check for the reboot code
  323.       REVERSE/S        Allocates the memory for the resident tags in
  324.                 reverse direction
  325.       LOWPRI/S        Lowers the priority of the MuMove4K resident 
  326.                 tag as a possible workaround for some wierd 
  327.                 other hacks.
  328.       Added more error messages in case something goes wrong.
  329.     - MuForce: Forgot to restore the Z-page mode and physical location on
  330.       removal. Ooops. Thanks, Heinz!
  331.     - MuFastZero: Added a "FastVBR" option because it was easy to do and
  332.       canonical to have. NOTE THAT THIS OPTION IS NOT REQUIRED IF YOU
  333.       REMAP THE VECTOR BASE ANYHOW.
  334.     - MuGuardianAngel: Prints now the stack boundaries in case of stack 
  335.       problems, let it be overflow, underflow or nearly out of stack. 
  336.       Thanks to Heinz, again.
  337.       Provides an option to disable these warning messages, but beware! 
  338.       This doesn't mean bugs will go away, it just silences MuGuardianAngel.
  339.       Remember, this program is provided to scream upon problems it detects.
  340.     - Setup scripts: Greatly enhanced! The new setup script will also 
  341.       re-set the memory caching modes for boards whose boot-roms already 
  342.       run the MMU. Fixed a minor glinch that produces a (bogus) error report
  343.       in case LIBS:MMU already existed.
  344.       Remember that you can't run the ppc.library on the MuLib setup, sorry.
  345.     - Added a new setup script "ScanToConfig" that takes a "MuScan" output
  346.       from a system running under a third-party 68040/68060.library and 
  347.       generates an MMU-Configuration file from it. To use it, re-install a 
  348.       non-MMU-aware processor library, boot the system, then enter the 
  349.       "Install" directory and run the script. MuScan must be available 
  350.       in the current directory as it is in the archive.
  351.       Please let me know how this new script goes, maybe it's smarter.
  352.     - Added a new program "MemModes" to the installation tools. It will
  353.       auto-generate the memory caching setup as the mmu.library does if
  354.       the MMU is found non-active. Possibly an improvement for those boards
  355.       which - strange enough - turn on the MMU before booting.
  356.     - Added a patch for the new SetPatch in the BoingBag, check the "Fixes"
  357.       directory.
  358.     - Again: When will people finally learn to read the FAQ? *Sigh*
  359.       In case MuFastZero complains "The zero page is already remapped",
  360.       ---> READ THE GUIDE. <---
  361.  
  362.  
  363. Release 41.2.1
  364. ---------------
  365.  
  366.     - Updated the 68040.library to 40.6. It builds now the fpsp.resource
  367.       which offers opcode emulation to external hosts.
  368.     - Included FastIEEE which re-directs the mathieee-library routines to
  369.       the fpsp.resource for optimal performance.
  370.     - FastIEEE fixes, too, some bugs in the mathieee libraries. 
  371.       IEEEDPCmp() is broken and orders some numbers "the wrong way". 
  372.       IEEEDPPow() and IEEESPPow() are broken and return non-sense for 
  373.       special arguments.
  374.  
  375. Release 41.2
  376. ---------------
  377.  
  378.     - The MMU Library build-in AddMem failed in case the base or length
  379.       were not aligned to 64K boundaries. It now rounds to the next 64K
  380.       boarders such that the supplied area is at least mounted partially.
  381.     - The idea to disable the TTx registers in the mmu.library was 
  382.       unfortunately not a very smart idea as it broke the code on some
  383.       machines. Re-established the old rule with the only exception that
  384.       the TTx registers are initialized for the EC040.
  385.     - The ColdReboot() patch of the 68040.library used the MMU registers
  386.       even on a system without MMU. Fixed.
  387.     - MuMove4K checks now all libraries, devices, ports, resources and 
  388.       resident modules whether they violate the 8K boundary.
  389.     - 68040.library: Forgot to disable the caches in ColdReboot().
  390.     - 68040.library: The motorola OpErr handler did not consider tracing
  391.       correctly. Fixed.
  392.     - Finally wrote and included the 68020.library and the 68030.library,
  393.       hence "FPU" will work on these machines.
  394.     - Updated MuGuardianAngel: Added a new keyword "DUMPWALL" that prints
  395.       the contents of a broken mung-wall and of broken memory cookies.
  396.  
  397. Release 41.1
  398. ---------------
  399.  
  400.     - ScanMMUPort was broken and scanned for the wrong port. *Sigh*
  401.       This release should work better on Blizzard boards.
  402.     - AddMemList() uses now RebuildTreesA() to rebuild user and
  403.       supervisor tables at once and is therefore a bit more error
  404.       tolerant.
  405.     - The mmu.library will now support CachePreDMA/CachePostDMA for
  406.       the EC040 and EC060 processors as well.
  407.     - The 68040.library will now disable the TTx registers manually
  408.       such that the "generic" board does no longer require an
  409.       ENVARC:MMU-Configuration file.
  410.     - The 68040.library will now enable copyback caches for the EC040.
  411.     - Some of the MuTools did not unload properly if loaded from the workbench,
  412.       fixed.
  413.     - The MuTools are now a bit more error tolerant due to a new function in the
  414.       V41 mmu.library which gets used.
  415.  
  416. Release 40.60
  417. -------------
  418.  
  419.     - fixed the shutdown code of MGA, thanks to Stephan!
  420.     - disabled a kludge in the mmu.library which write protected 
  421.       a kickstart image at 0x00200000 and up by checking the name 
  422.       of execbase. This kludge might have conflicted with some softkickers.
  423.     - Because people tend not to read guides, I added the 
  424.       arguments "WRITEPROTECTED" and "INVALID" to the library build-in 
  425.       "SetCacheMode". Note that they work different to what "MuSetCacheMode" 
  426.       does. Here, "WRITEPROTECTED" and "INVALID" are just aliases to "ROM" 
  427.       and "BLANK", hence enable the most defensive protection strategy.
  428.     - Added a new LVO "RebuildTreesA" which is "officially" not yet 
  429.       existing and will be documented in V41. More LVOs might be added up 
  430.       to V41, but please *DO NOT* yet call them as they did not exist 
  431.       in V40.50.
  432.     - Fixed the installation script, due to a typo the P5 MMU boot hack 
  433.       was not detected.
  434.     - Fixed the P5Detect program which just looked to the wrong
  435.       identification resources. Ooops. Installation on "non-standard"
  436.       boards should be smoother now.
  437.     - Fixed a bug in the disassembler.library which disassembled the
  438.       lea (offset.L,pc)
  439.       wrong. The offset was wrong by two bytes.
  440.     - The release number in the MuForce guide was wrong. 
  441.     - When will people finally learn to read the FAQ? *Sigh*
  442.       In case MuFastZero complains "The zero page is already remapped",
  443.       ---> READ THE GUIDE. <---
  444.  
  445.  
  446. Release 40.51.1
  447. -------------
  448.  
  449.     - disabled the layers.library kludge for MuGuardianAngel if V40
  450.       is found active. It is luckely no longer required.
  451.  
  452. Release 40.51
  453. -------------
  454.  
  455.     - fixed a bug in the 68060 startup logic which left the MMU disabled
  456.       in case it was disabled before. This made the custom 68060.library
  457.       useless.
  458.     - included the 40.17ß3 release of Carten Schlote's 68060.library
  459.       which (for the first time) makes use of the MMU.library.
  460.  
  461. Installation of this library requires some care as IT DOES NOT automatically
  462. auto-detect P5 hardware and special setup magic for this hardware. This is
  463. not because the library is "broken" in some sense, but because P5 didn't 
  464. follow the CBM guidelines when designing their hardware. Therefore, an
  465. experimental installation script has been written. This script must be
  466. run as follows:
  467.  
  468.     - Unpack the archive to disk,
  469.     - Enter the following commands:
  470.  
  471. cd <MMULib>/Install    ;where <MMULib> is the directory you unpacked this 
  472.             ;archive to
  473.  
  474. SYS:Rexxc/rx BuildMMUConfig.rexx ENVARC:MMU-Configuration
  475.  
  476.     - The last command builds the MMU configuration and writes it
  477.       to ENVARC:MMU-Configuration. It might also copy ScanMMUPort
  478.       to LIBS:MMU. This is an external setup command for the library
  479.       and might or might not be required. Older P5 hardware does *not*
  480.       require it (I would guess that this is explicitly for the 
  481.       Blizzards, but I'm not sure).
  482.       Non-P5 hardware will not require it at all.
  483.       You might want to hand-edit or optimize this script if you need,
  484.       as it will contain several optimizations for graphics cards and
  485.       other known boards.
  486.  
  487.     - KEEP THE OLD 68060.library IN A SAFE PLACE.
  488.     - Make sure to install the 40.51 edition of the mmu.library
  489.     - Copy the 68060.library to LIBS:
  490.     - Reboot the computer and wish the new library luck. (-:
  491.  
  492. This edition of the '060 lib does *not yet* include correct VMM management
  493. and FPU control functions (hence, C:FPU will not yet work). It is shorter
  494. and costs less memory because it leaves the MMU setup to the mmu.library.
  495. (Note that this release contains still debugging information).
  496.  
  497.  
  498. In case the installation failed:
  499.  
  500.     - Make sure the mathieedoubbas.library you're using is truely the
  501.       official 38.x or the patched and bugfixed 39.1. Some other third-
  502.       party products may fail to work correctly if the 68060 support
  503.       code is not yet loaded.
  504.  
  505. In case running the library fails (i.e. system doesn't boot):
  506.  
  507.     - Make sure LIBS:mmu/ScanMMUPort is really available at boot-up
  508.     - Please re-boot the computer without the startup-sequence,
  509.     - Keep ENVARC:MMU-Configuration in a safe place,
  510.     - Re-install the old 68060.library.
  511.     - Boot the computer again,
  512.     - Run "MuScan" and keep the output.
  513.  
  514. Then, please sent me the output of MuScan, and the ENVARC:MMU-Configuration
  515. file with a tiny note what exactly happened (or did not happen).
  516.  
  517.  
  518. Release 40.50
  519. --------------
  520.  
  521.     - added external command scanning in case a setup command is
  522.       not found "resident".
  523.     - included Richard Körber's PatchWork and Olaf Barthel's
  524.       Sashimi. The "PatchWork" edition is *NEW* and *NOT YET AVAILABLE*
  525.       otherwise. Big "thank you" to Richard for updating it for this
  526.       archive. Big thanks to Olaf Barthel for allowing me to include
  527.       his "Sashimi" in the archive.
  528.     - bumped the version number.
  529.     - Final release.
  530.  
  531. Release 0.48
  532. --------------
  533.     - mmu.library: Added a new command in the MMU-Configuration file,
  534.       "DescriptorCacheInhibit". It controls whether the MMU library
  535.       should disable the data cache for the descriptors. This is by
  536.       default OFF as this feature means more trouble for the library,
  537.       and is not required for using the library. However, this might
  538.       be a workaround for programs that hack the MMU table themselves,
  539.       which is not supported anyhow. Set it to "ON" if you MUST use
  540.       these programs.
  541.     - Added another VMM support function.
  542.     - MuGuardianAngel: The "memory header" output was broken, fixed.
  543.       Added more security checks, MuGuardianAngel will warn you in
  544.       case its function entries have been patched (which is not 
  545.       supported)
  546.     - MuGuardianAngel: Added automatic stack checking within the
  547.       memory allocation functions - an overrun stack seems to be the
  548.       most common source of MuGuardianAngel problems. MuGuardianAngel
  549.       will now detect an "nearly out of stack" condition in the memory
  550.       handling, and will provide an "emergency" stack in case this
  551.       happens. It will then generate a warning, regardless of whether    
  552.       stack snooping is enabled or not.
  553.       Interestingly, the RAM-Handler and the FastFilingSystem are the
  554.       most common sources of stack-overflows. This should be fixed for 
  555.       the RAM handler with "PatchRAM" in this archive, the FFS stack
  556.       should be added manually in the RDB, though. The smallest re-
  557.       commended stack size is 786 bytes, not less!
  558.     - P96: (yes, you read this correctly) supports now the mmu.lib if
  559.       it is available.
  560.     - Added an experimental GfxCard setup program to optimize cacheing.
  561.       This function is included in P96 anyhow, so not really required.
  562.  
  563.     - mmu.library: MOVE16 is now "sort of" supported, in the sense that
  564.       the exception handler will be able to handle it. However:
  565.       - MOVE16 is not supported by all Amiga hardware, it may crash,
  566.       - A MOVE16 on a 68040 is potentially dangerous due to a bug in
  567.         the CPU. A MOVE16 might invalidate cache lines which are not
  568.         related to the MOVE16 operation at all. There is currently a
  569.         workaround for this, namely: Do not set the "imprecise", or
  570.         "user page" bits 0-3 for swapped, invalid or supervisor only
  571.         pages. I do not guarantee that this workaround will remain
  572.         valid. *JUST DON'T USE MOVE16.*
  573.       - A MOVE16 may cause double reads, do not use this to read from
  574.         hardware registers that cannot tolerate this. Do NOT use it
  575.         at all!
  576.       - A MOVE16 which causes the exception handler to enter may be
  577.         completed by means of ordinary writes, which means that in
  578.         this situation no burst access is used, and the order of the    
  579.         data written out or read might be different from that of a
  580.         true MOVE16. *JUST DO NOT USE IT, OK!*
  581.  
  582.     - mmu.library: On read/modify/write accesses, the library might
  583.       have reported a write protection fault instead of a simple 
  584.       write fault on the write cycle of the instruction. Fixed.
  585.  
  586.     - MuGuardianAngel: Added more consistency checks, added checks
  587.       and support for memory pools, made some error messages more
  588.       informative.
  589.  
  590.     - MuMove4K: Added the NOREBOOT option to avoid unnecessary reboots
  591.       if the system is rebooted by a second program afterwards anyhow.
  592.  
  593.     - Included a patch for the V44 SetPatch.
  594.  
  595. Release 0.47
  596. --------------
  597.     - mmu.library: Changed again the cache control logic a bit. Please
  598.       try DMA transfers again. The new logic does not block interrupts
  599.       as long as the old logic, hence might avoid problems if fast
  600.       interrupt processing is required. It should be *slightly* faster
  601.       as well.
  602.     - MuForce: MuForce catches now supervisor exceptions as well if you
  603.       specify the "CAPTURESUPER" keyword. This requires patching of
  604.       some autovectors.
  605.     - Added a new drawer "Contributions", containing more tools from
  606.       other people I regard as very useful. This is "Sashimi" by
  607.       Olaf Barthel, and "PatchWork" by Richard Körber. Thanks Olaf,
  608.       thanks Richard for allowing me to include your great work!     
  609.     - Run all guides thru ISpell, hopefully correcting most typos.
  610.     - MuMove4K: The PREPAREEMUL option disabled the CPU instruction
  611.       cache. I expected the ROM would re-enable it somewhat later, but
  612.       it didn't. Fixed.
  613.  
  614. Release 0.46
  615. --------------
  616.     - mmu.library: Found that the "ramlib" task is really very low on
  617.       stack. I'm now swapping the stack on library startup to avoid
  618.       problems.
  619.     - updated the mmu.lib exception handler. It is now possible to use
  620.       the exception mechanism to auto-extend the stack and to keep the
  621.       user stack on virtual memory. The new "message hook" mechanism
  622.       does not require user stack space. However, an additional patch
  623.       to the exec switch function is required for this trick. This
  624.       patch is currently not included in the mmu.library - basically
  625.       because this is not directly MMU related.
  626.     - MuGuardianAngel will now stop to check for a valid free memory
  627.       counter if it finds a problem and reports the problem immediately.
  628.     - MuForce is now able to capture even "ordinary" MC68K exceptions.
  629.       This can be disabled with the new "NOGURUPATCH" option.
  630.     - Included a "synchronous" version of the 680x0.library because the
  631.       asynchronous outsmarted several systems.
  632.     - mmu.library: The chip ram is now by default marked as cacheinhibit 
  633.       imprecise nonserialized. This will speed up chip ram access a bit
  634.       for the 68060 and 68040. Works of course only if the MMULib is
  635.       used to setup the MMU tables, i.e. for users of the V40 68040 lib.
  636.       Video RAM of several graphics cards can be setup in the same way
  637.       as well, but since there's no way to identify expansion hardware as
  638.       video ram, you've to do that manually.
  639.     - mmu.library: The F-Space is now by default marked as cacheinhibit
  640.       to allow (IMHO misdesigned) hardware to map in here without telling
  641.       the system. This can be disabled by using the MMU-Configuration
  642.       file.
  643.     - Added a new MuTool: MuFastChip. This tool will enable the imprecise
  644.       or nonserialized cache mode for chip memory and will hence improve
  645.       chip memory access performance for systems where a third-party 040 
  646.       or 060 library does not setup the MMU tables in the optimal way.
  647.       The MMU.library (and hence the V40 68040.lib) *will* build its own
  648.       MMU tables with this feature enabled anyhow if it doesn't find an
  649.       MMU table to start from. 
  650.     - Fixed the SetPatch fix. (You kept the original, right? :-)
  651.       It might have been that the 43.7 edition installed a fix for the
  652.       mathieeesingbas.library even if this fix is unnecessary and fatal,
  653.       as it is for the 68881/68882 FPU.
  654.  
  655. Release 0.44
  656. --------------
  657.     - mmu.library:    The "AddMem" command in the MMU-Configuration file
  658.       was broken. Added the memory twice, causing nothing but a mess.
  659.     - Added a safety check for "AddMem", the command is now ignored
  660.       in case the memory in question is already added.
  661.     - "SetCacheMode" argument "valid" was broken and did not validate
  662.       the memory at all.
  663.     - AddMem'd memory was added after the MMU table setup, hence wasn't
  664.       used for the MMU descriptors. The library *tries now* to add it
  665.       as soon as possible to make some use of it for building the MMU
  666.       trees.
  667.     - MuFastZero: The FORCENATIVE option generated a failure code in
  668.       case the zero page wasn't remapped, stopping additional options
  669.       like MOVESSP from working.
  670.     - MuGuardianAngel: The "MemHeader free counter incorrect" error
  671.       handler did not save back one register and hence caused additional
  672.       hits.
  673.     - MuGuardianAngel: Ooops, found a problem of the RAM-Handler. Not
  674.       a MuGuardianAngel problem, but a real design fault of RAM: DO NOT
  675.       try to delete and write to the RAM: disk at the same time, this
  676.       will cause lots of trouble.
  677.     - Included a fix for the CBM mathieeedoubbas.library 38.2. This
  678.       library fails to compare floating point numbers below zero
  679.       correctly in some cases. The P5 library patches mathieeedoubbas
  680.       to fix this, but the 68040.library should not be a replacement
  681.       for SetPatch. To apply the patch,
  682.  
  683. 1)      Copy the file LIBS:mathieeedoubbas.library to RAM:
  684. 2)      Copy the file mathieeedoubbas.pch in the directory "Fixes" to RAM:
  685. 3)      Copy the "spatch" program at the same place to RAM:
  686. 4)      Change the directory to ram: with "cd RAM:"
  687. 5)      Apply the patch with    "spatch mathieeedoubbas.library"
  688. 6)      Copy the file RAM:mathieeedoubbas.new to
  689.         LIBS:mathieeedoubbas.library. It contains the fixed library.
  690.  
  691.     - In case the V40 68040.library slowed your computer down:
  692.       copy the file "MMU-Configuration" from the "ENVARC" drawer into
  693.       "ENVARC:". In case this causes crashes with Z-II memory, follow
  694.       the instructions in the file and remove one semicolon in front of
  695.       the "SetCacheMode" command. 
  696.     - Removed the debugging information from all files.
  697.     - Added the MMU master guide. Please check this, is this understand-    
  698.       able? In case I forgot to mention you in the credits, please let
  699.         me know!
  700.     - Moved all libraries to a separate directory, "Libs"
  701.     - Included a new library, the 680x0.library. This is the CPU
  702.       unspecific CPU driver. It's job is to detect which CPU is avail-
  703.       able in your system, and to load the CPU specific code. It there-
  704.       fore acts very much like the P5 68040dummy.library, except that
  705.       it remains in the system and provides user-callable function
  706.       entries for querying the CPU/FPU/MMU type and to setup the FPU
  707.       exceptions. The CPU specific library *should never be called
  708.       directly*, this library will re-route the calls to the correct
  709.       library. Furthermore, it loads the library in background, helping
  710.       to speed up the boot process a bit. 
  711.     - A special edition of SetPatch is available that loads the 680x0
  712.       library instead the 68040.library, regardless of which processor 
  713.       is available. The 680x0.library will then even try to load an
  714.       68000.library or 68020.library. This library could be used, for
  715.       example, to install line-F instructions to emulate the FPU 
  716.       completely in software, even for a 68020 or 68000 without FPU.
  717.       To patch "SetPatch", 
  718.  
  719. 0)    Keep a copy of SetPatch in a safe place.
  720. 1)      Copy the file C:SetPatch to RAM:
  721. 2)      Copy the file SetPatch.pch in the directory "Fixes" to RAM:
  722. 3)      Copy the "spatch" program at the same place to RAM:
  723. 4)      Change the directory to ram: with "cd RAM:"
  724. 5)      Apply the patch with    "spatch SetPatch"
  725. 6)      Copy the file RAM:SetPatch.new to C:SetPatch. This is the
  726.     inofficial 43.7 edition of SetPatch.
  727.  
  728.     - Included a new program, "FPU" in the "Shell only" drawer. This
  729.       program controls the exception generation of the FPU. It will
  730.       only work with the 680x0.library and the V40 68040.library
  731.       installed.
  732.  
  733.  
  734. Release 0.42
  735. --------------
  736.  
  737.     - 68040.library: Only cosmetic changes. Added a AN_Zombie guru in
  738.       case the ColdReboot() function returned. I've no idea how this
  739.       could happen.
  740.     - mmu.library: I don't thrust the AFF_68060 flag any more. The
  741.       68060.library of the LC75 Apollo board does not set this bit
  742.       correctly and hence identifies the 060 as 040. Hence, the library
  743.       tried to install the wrong driver and crashed desparately. The
  744.       library tries now to identify an 060 in case at least an 040 is
  745.       indicated. The library updates then its own AttFlags copy 
  746.       correctly. Outch! I don't know whether this is a typo in the
  747.       sources of the 68060.lib, or this intended and something "sneaky"
  748.       I fail to understand. 
  749.     - Fixed one bug in the disassembler.library. It failed to disassemble
  750.       64 bit arithmetics correctly.
  751.     - MuFastRom: In case no argument is given, the program uses now the
  752.       default "On".
  753.     - MuFastZero: Again, made "On" the default argument. Added the
  754.       "MoveSSP" and "StackSize" arguments to relocate the supervisor
  755.       stack to fast ram. This does not make use of the MMU.
  756.     - Added the "CheckFPU" command, in the "Shell_Only" drawer. This
  757.       program prints the version number of a 68040 FPU if one is avail-
  758.       able. Two versions exist, the V40 "original" which is very buggy
  759.       and the V41 "revised" with less bugs. The 68040.library supports
  760.       currently both, with lots of workarounds for the V40. Please
  761.       contact me in case you find a V40 edition in your Amiga.
  762.     
  763.  
  764. Release 0.41
  765. --------------
  766.  
  767.     - Forgot to update the version number in 0.40. Reported 0.38. Oops.
  768.     - TTx parsing was still not 100% correct, but much better. Fixed.
  769.     - Due to a typo, branch cache flushes were effectively disabled.
  770.       Outch! Forgot one single "$".
  771.     - Added branch cache flushes on context switches, recommended by
  772.       Motorola.
  773.     - Added includes, autodocs and .fd files for the 68040.library.
  774.     - Updated MuFastZero and MuFastROM to include and set the cache
  775.       flags according to the mirrored RAM. This is of importance in
  776.       case non-cacheable Z-II fast RAM is used to build the mirror.
  777.     - Made mild modifications to the FPSP FPU emulator package to speed
  778.       it up a bit. The 40.1 release is now unnoticably faster than the
  779.       Mike Sinz 37.30 release, which is again unnoticably faster than
  780.       the P5 release.
  781.     - Added a workaround in GetMsg() to keep some brain-dead programs
  782.       working that call GetMsg() in a tight loop without giving
  783.       interrupts a chance to occur. These programs tend to block the
  784.       computer completely, especially if the ROM is remapped to 
  785.       cacheable, burstable memory. The workaround is a single NOP.
  786.  
  787. Release 0.40
  788. --------------
  789.     New in this release:
  790.  
  791.     - Added four internal undocumented LVOs for external CPU drivers.
  792.     - Fixed a bug in the CPU detection routine. A 060 EC or LC was
  793.       not recognized. Outch! Which smart guy at Motorola decided to use
  794.       the same processor ID for both products? The EC doesn't have a MMU,
  795.       the LC - as for example used by the LC75 Apollo board - does.
  796.       This might well explain a lot of problems of the Apollo board....
  797.     - Fixed a bug in the library init routine which would cause a guru
  798.       in case no MMU is available at all. The library MUST load, and
  799.       some functions will be available even without an MMU.
  800.     - Fixed several minor bugs of the TTx parsing routine, hopefully
  801.       correcting problems with some ancient 040 library releases that
  802.       didn't make use of the MMU (how should that work?)
  803.     - Fixed a serious bug of the Alert() replacement function, the stack
  804.       was used plain wrong. Thanks Etienne!
  805.     - Included an updated and more streamlined version of MuLockLib,
  806.       thanks to Gunther Nikl for providing it.
  807.     - Updated MuSetCacheMode, added more options.
  808.     - Added a configuration/preferences file and a preferences file
  809.       parser.
  810.     - Included now the "stripped" versions of the libraries in a sub-
  811.       directory of the same name. These editons don't contain the de-
  812.       bugging information and are therefore shorter.
  813.     - *News flash* 
  814.       This release comes with an upgraded version of the 68040.library.
  815.       This library is still in "beta" stage, but makes already use of
  816.       the mmu.library for the MMU configuration. It is for that reason
  817.       even shorter than the 37.30 release, even though it uses the latest
  818.       68040 FPU emulation code from Motorola.
  819.       FPU exceptions are configurable thru an LVO vector of the library,
  820.       but I haven't written a control tool yet. This will follow in the
  821.       next distribution.
  822.       This release *will only work* if the 37.30 runs on your machine,
  823.       you should, however, edit the ENVARC:MMU-Configuration file to 
  824.       to make some P5 boards working. The file should contain this line:
  825.  
  826. SetCacheMode    from 0x00f00000 size 0x00080000 valid iospace
  827.  
  828.       If you use this edition of the 68040.library, it might disable
  829.       caches for the Z-II address space completely. If this is not
  830.       desired, you may turn them on again with the following line in
  831.       the MMU-configuration file:
  832.  
  833. ClearTTX    
  834.  
  835. The path of the preferences file is ENV:MMU-Configuration or 
  836. ENVARC:MMU-Configuration if the first file is not found. The file looks like
  837. a standard shell script except that only three commands are known. All
  838. other commands are ignored silently for forwards compatibility, more might
  839. be made available in the future. The semicolon is used to separate comments 
  840. from the commands, the text following a semicolon is ignored.
  841.  
  842.  
  843. Release 0.38
  844. --------------
  845.     New in this release:
  846.  
  847.     - Added four internal undocumented LVOs for external CPU drivers.
  848.     - Fixed a bug in the CPU detection routine. A 060 EC or LC was
  849.       not recognized. Outch! Which smart guy at Motorola decided to use
  850.       the same processor ID for both products? The EC doesn't have a MMU,
  851.       the LC - as for example used by the LC75 Apollo board - does.
  852.       This might well explain a lot of problems of the Apollo board....
  853.     - Fixed a bug in the library init routine which would cause a guru
  854.       in case no MMU is available at all. The library MUST load, and
  855.       some functions will be available even without an MMU.
  856.     - Fixed several minor bugs of the TTx parsing routine, hopefully
  857.       correcting problems with some ancient 040 library releases that
  858.       didn't make use of the MMU (how should that work?)
  859.     - Fixed a serious bug of the Alert() replacement function, the stack
  860.       was used plain wrong. Thanks Etienne!
  861.     - Included an updated and more streamlined version of MuLockLib,
  862.       thanks to Gunther Nikl for providing it.
  863.  
  864. Release 0.37
  865. --------------
  866.     New in this release:
  867.  
  868.     - Added two tags for Get/SetContextData in preparation for the
  869.       memory library.
  870.     - Wrote a replacement AddMemList() function because some 
  871.       versions of the 68040/68060.library functions patch this function.
  872.       This release will adjust the MMU tables for the DEFAULT CONTEXT
  873.       only, which means that all memory must be ready AT LEAST AS SOON
  874.       AS A PRIVATE CONTEXT IS CREATED.
  875.  
  876.  
  877. In case you've problems with this library release:
  878. o) Please install the mmu.library_debug ON TOP of the mmu.library, i.e. use
  879.  
  880. copy mmu.library_debug to LIBS:mmu.library
  881.  
  882. o) Reset the system
  883. o) Run Sushi or Sashimi to fetch the output. Give them a HUGE buffer
  884. o) Load the library. MuLockLib would do that, for example.
  885.  
  886. Release 0.36
  887. --------------
  888.     News in this release:
  889.  
  890.     - Fixed MuMove4K, added the A1200 option and fixed the shutdown code.
  891.     - Fixed MuLockLib, there was a slight chance for a crash (thanks to
  892.       Gunther Nikl for reporting)
  893.     - Fixed the .fd-File. I forgot to include two functions making
  894.       the table useless, and forgot to include one library 
  895.       function in the library lvo jump table. Outch!
  896.     - Fixed the new memory map functions.
  897.     - Tested indirect descriptor functions, included a new test,
  898.       see MuIndirectTest.
  899.  
  900. I'm planning to upload the 0.36 to the Aminet next saturday, I won't be in
  901. town from July 18th to August 8th. 
  902.  
  903. Release 0.35
  904. -------------
  905.     News in this release: Something in the library, even though no
  906.     real serious bugs have been found. More functions, but more power-
  907.     ful debugging tools.
  908.  
  909.     - Added support functions for memory maps, likely untested.
  910.     - Added support functions for indirect descriptors and *VERY FAST*
  911.       indirect page swapping.
  912.     - Fixed a tiny bug in the 060 support which might have failed to
  913.       detect physical bus errors correctly.
  914.     - Fixed a bug in GetPageProperties which might have failed to
  915.       read remapped memory correctly.
  916.     - Streamlined the tag item parse functions.
  917.     - Updated documentation and includes.
  918.     - Wrote the disassembler.library, added to the distribution.
  919.     - Updated MuForce: The program makes use of the disassembler.library
  920.       and prints now a disassembly of the faulty code on demand.
  921.     - Fixed a bug in MuGuardianAngel, stack dump was broken.
  922.     - Updated MuGuardianAngel, included disassembly function.
  923.     - Updated MuMove4K a lot, included a PREPAREEMUL function,
  924.       wrote a better guide, drew a shell icon.
  925.     - Included more shell tools, PrintBusError, ResetBusError and
  926.       ClearTTx.
  927.  
  928. The Apollo LC060 75Mhz showed problems with the mmu.library. I don't know
  929. how these problems arose, but it might be that the MMU doesn't like the over-
  930. clocking. To test this, please run the "ClearTTx" program with the NATIVE
  931. Apollo setup and check whether this works or not.
  932.  
  933. The PrintBusError tool will dump the bus error vector. It should always
  934. point to the library.
  935.  
  936. The ResetBusError will repair the bus error vector in case it was messed
  937. up by a program. It should be run WITHOUT an active debugger, or the result
  938. will be worse, not better. An application for this program is to restore
  939. the correct bus error handler after having used the "SoftBoot" program or
  940. "SetCPU FastROM" or "CPU FastROM". Note that the latter two are obsolete
  941. and replaced by MuFastROM.
  942.  
  943.  
  944. Release 0.34.1
  945. --------------
  946.     I'm pretty happy with the 0.34 how it is now, I haven't found new
  947.     bugs. This doesn't mean there are none, though. (-;
  948.  
  949.     New in this release:
  950.  
  951.     - Updated MuGuardianAngel a bit. The "hit" messages are now more
  952.       informative and contain more detailed information about the
  953.       cause of the hit, as for example which memory chunk was released
  954.       etc... Thanks to Simon for the hint.
  955.     - Added a new program "MuLink" to the MuTools. This is a shell-only
  956.       developer tool for automatic "self-protection" of software. A
  957.       program that gets "MuLink'd" will get its code (or other selected)
  958.       segments automatically write protected. This is most important 
  959.       for software that has to run on critical systems, as BBS's 
  960.       and the like. MuLink is a post-processing tool much like ATOM.
  961.       More about this tool in its documentation.
  962.     - Added a "MuGuardianOff" icon.
  963.     - Updated the documentation.
  964.     - Included E developer files, thanks to Daniel Kasmeroglu. 
  965.  
  966.  
  967. Remaining problems:
  968.     
  969.     - The usual ppc.library problem. Not about to be fixed.
  970.     - The library still refuses to work correctly on an Appollo 75Mhz
  971.       060EC board, I don't know why. TTx setup of this board is now
  972.       supported correctly, but this doesn't seem to help. Wierd.
  973.  
  974. Release 0.34
  975. ------------
  976.     Sigh, the 0.33 DMA logic was still buggy....
  977.  
  978.     - Fixed (another) bug in CachePostDMA(). The routine failed to
  979.       check the CPU AttnFlags correctly and hence did not restore
  980.       the cache mode to copyback. This could have been resulted in
  981.       slowdown of your machine, and hands of several MuTools.
  982.     - Removed all references to the 68040 and 68060.library. This
  983.       will allow a possible future 680x0 library to use the 
  984.       mmu.library to build its MMU tree instead of implementing this
  985.       function a second time.
  986.  
  987. I M P O R T A N T:
  988.  
  989. THIS MEANS THAT ALL THE MUTOOLS *MUST* BE RUN  A F T E R  SetPatch.
  990.  
  991. The only exception to this rule is MuMove4K.
  992.  
  993. Please DO NOT run the MMURemapTest with the cybscsi or cybppc.device. Both
  994. devices are not designed to allow memory remapping (not my fault). In worst
  995. case, they will trash your hard disk!!!
  996.  
  997.  
  998. Thanks goes to Ulrich Falke for helping me to find these bugs, and 
  999. furthermore to Michaela Prüß for supplying the includes and protos for the 
  1000. vbcc compiler!
  1001.  
  1002. Release 0.33
  1003. ------------
  1004.     Outch, the 0.30 was buggy!
  1005.  
  1006.     - Fixed a bug in the GetPageProperties() routine for the 030 and
  1007.       020 support code. The cache control functions overwrote an 
  1008.       important CPU register and therefore crashed MuForce.
  1009.     - Fixed a bug in the DMA control logic. Outch! This really broke
  1010.       things!
  1011.     - Fixed a bug in the MMU table rounding logic. Fixed one overflow
  1012.       problem that makes the procedure hang on some machines. 
  1013.       Additionally, I forgot to merge adjacent property nodes here.
  1014.     - I must have been crazy to remove the PROTECT option in MuFastROM.
  1015.       Fixed!
  1016.     - MuFastZero OFF improved, and the FORCENATIVE flag was broken
  1017.       completely.
  1018.     - MuGuardianAngel showed a few bogus exceptions on startup, depends
  1019.       on the system configuration. TRSaferPatches caused this, fixed.
  1020.     - Added the FixCybAccess workaround. It fixes - or actually 
  1021.       works around - a really bad design fault of the cybscsi.device.
  1022.       More on this in its readme.
  1023.     - Changed the SegTracker output style of MuForce and MuGuardianAngel
  1024.       to the Enforcer style. This is most useful for tools interpreting
  1025.       these lines.
  1026.  
  1027. Thanks to all the nice folks that reported bugs, and sorry for the 
  1028. inconvenience about all the bugs.
  1029.  
  1030. This distribution contains again a "mmu.library_debug". In case you encounter
  1031. problems, please rename this to "mmu.library", install "Sushi" or "Sashimi"
  1032. with a *LARGE* I/O buffer and run the tests again. Alternatively, connect
  1033. a terminal to the serial port, 9600 baud, 8 bit, 1 stop bit, no parity.
  1034.  
  1035. Please collect the output and sent it to my email address. This will help 
  1036. me a lot debugging the library.
  1037.  
  1038. -----> When reporting bugs, PLEASE PLEASE let me know:
  1039.  
  1040. o) About which version of the library you're running. I might have sent
  1041. some of you an updated version.
  1042. o) About which processor your system is running on.
  1043. o) A MuScan output.
  1044. o) Which SCSI/IDE device you're using.
  1045.  
  1046. In case you see a crash:
  1047.  
  1048. o) Please write down the guru number.
  1049. o) Try to reproduce the crash, try to find out which program causes the
  1050. crash. This means that you should try to edit your startup sequence and to
  1051. remove patches from there until the crash disappears. You don't need to
  1052. strip the startup-sequence permanently, but just to let me know which
  1053. program causes the incompatibility.
  1054.  
  1055. Please understand that a "It won't work on my computer" doesn't help me 
  1056. much to fix the problem. Try to be as concrete as possible, this will 
  1057. increase the propability enourmously that bugs get fixed. (-;
  1058.  
  1059. A special note about the 0.3x releases:
  1060.  
  1061. I introduced a new guru, namely "AN_PostSetup 0x3e000015". In case you see
  1062. this specific guru, let me know which program caused this.
  1063.  
  1064.  
  1065. A special note about MuGuardianAngel:
  1066.  
  1067. This program is NOT compatible with PoolMem. Try not to install PoolMem on
  1068. top of this, this won't work. MuGuardianAngel will be smart enough to cancel
  1069. PoolMem if it is running, but it is not smart enough to prevent its 
  1070. installation.
  1071.  
  1072.  
  1073. A special note about "version" and related utilities aka "verscheck":
  1074.  
  1075. These tools OPEN the libraries in question. Hence, if you run "version"
  1076. on a - possibly existant - 68040old.library, it will open this library and
  1077. re-install a MMU table on top of the already loaded table. Either do
  1078. not try this or remove the 68040new.library and the 68040old.library from
  1079. your LIBS: drawer.
  1080.  
  1081.  
  1082. A special note about "MMUCacheTest": 
  1083.  
  1084. If this program hangs on your system, please report this. Furthermore, please
  1085. run it *AGAIN*, but this time with the "NOMMU" option on the command line
  1086. and *WITHOUT ANY* tools that require the mmu.library. It would be best to
  1087. boot without startup-sequence, run "SetPatch" by hand and then immediately
  1088. "MMUCacheTest DH0: nommu".
  1089.  
  1090.  
  1091. Release 0.30
  1092. ------------
  1093.     Ouh, just too many changes to mention:
  1094.  
  1095.     - Added tags to setup the MMU table layout, as the page size,
  1096.       the depth of the MMU tree.
  1097.     - Added functions to get and set some control values of the
  1098.        MMU contexts.
  1099.     - Added page access exception handler.
  1100.     - CachePre/PostDMA patches are now always installed since 68020
  1101.       and 68030 based systems need the logical -> physical trans-
  1102.       lation as well.
  1103.     - Reworked the mmu.library memory management.
  1104.     - Fixed several bugs in the MuForce program, did not handle ROM
  1105.       remapping correctly.
  1106.     - MuFastRom and MuFastZero reworked a bit. MuFastZero OFF did
  1107.       not work. Added more options for both tools.
  1108.     - Added a new debugging tool: MuGuardianAngel. Some sort of
  1109.       memory protection that keeps free memory from getting over-
  1110.       written by faulty programs.
  1111.     - Added more options to MuSetCacheMode.
  1112.     - MuMove4K moves now the lowest 32K (and is hence misnamed). This
  1113.       avoid trouble with large MMU table sizes on 68030/68020 based 
  1114.       systems and pre-allocates memory for an "oxypatcher" type tool.
  1115.     - Added MuLockLib tool, check the readme.
  1116.     - ....
  1117.  
  1118.  
  1119. Release 0.27
  1120. ------------
  1121.     - Fixed a bug in the task scheldurer.
  1122.     - Added a second explicit cache flush for ColdReboot()
  1123.     - Fixed a bug in the branch cache flush of the '060... Sorry!    
  1124.     - Tested the library for public remapped memory... Works!
  1125.     - Tested the library for private MMU trees... Works!
  1126.  
  1127.     - Since the 0.27 works now within its specifications, this will
  1128.       be the last 0.2x release. We're going to 0.30 now.
  1129.  
  1130. Release 0.26
  1131. ------------
  1132.  
  1133.     - Fixed a bug in the exception handling, forgot to restore a6.
  1134.     - Fixed the return value of RebuildTree(). It's now TRUE on
  1135.       success, not DOSTRUE.
  1136.     - Fixed a bug in the table builder, merged sub-tree were released
  1137.       incorrectly.
  1138.     - Added the WithoutMMU() LVO entry.
  1139.     - Removed the AllocLineMem() LVO, this one was useless.
  1140.  
  1141. Release 0.25
  1142. ------------
  1143.  
  1144.     - Debugged 060 exception handler again. Found only one bug, ROM
  1145.       emulation was broken.
  1146.     - Enhanced AbsExecBase accesses - does no longer block interrupts
  1147.       unnecessary.
  1148.     - Fixed parts of the exception handler to read the faulty instruction
  1149.       from the correct function code space.
  1150.     - Added a complicated test for the EC030 processor that should
  1151.       finally work.
  1152.     - Enabled the MMULib internal exception handler test.
  1153.     - Removed all accesses to the ppc.library and reserved entries.
  1154.       PPC.lib compatibility is no longer an issue for me. The MMU.lib
  1155.       is WarpOs-compatible, though, as long as the system isn't 
  1156.       infected by Ralph's "software".
  1157.     - Added a safety test in the MMUCacheTest program to avoid
  1158.       hangs.
  1159.  
  1160. Release 0.24
  1161. ------------
  1162.  
  1163.     - Fixed the 030/851 exception handler, especially the emulation
  1164.       of instruction access of a possibly invalidated zero page,
  1165.       now really, *BIG* thanks to Dave!
  1166.     - MuForce does no longer ignore a remapped ROM. (Oops!)
  1167.     - MuForce does no longer touch the mapping of the fspace
  1168.       unless told to do so.
  1169.     - Fixed the assembler includes and autodocs, thanks to Tilman!
  1170.     - The context management of the library does no longer
  1171.       reset the remap destination in case the memory remap flag
  1172.       is not included in the mask settings. (Oops!)
  1173.     - Fixed the MMU table builder for MMU tables using more than
  1174.       32K entries.
  1175.     - The startup code selects now a better page layout for 030/851
  1176.       processors.
  1177.     - MuForce tries now to re-use an already relocated vector base
  1178.       if possible.
  1179.     - Tiny speedup in the "InstallDescriptor" routine could speed up
  1180.       MMU table building. There's room for more speedups, though.
  1181.     - Added a "nommu" flag for the MMUCacheTest program to check    
  1182.       your HD without the mmu.library. If this flag is used, the
  1183.       program *MUST* be run without the mmu.library currently loaded.
  1184.  
  1185. Related fixes of COP (release 1.73, not included in this distribution):
  1186.     - Fixed emulation of instruction access to the zero-page.
  1187.     - Fixed the RestoreVBR option.
  1188.     - Fixed the MMU disable mechanism on startup.
  1189.  
  1190. Special thanks goes to Dave "Ragman" for finding a lot of bugs in the 0.21
  1191. release.
  1192.  
  1193. -----------------------------------------------------------------------------
  1194.  
  1195. Compatibility warnings and bad software:
  1196.  
  1197. - The MMU tables generated by the "CPU FastROM" command, an official CBM tool,
  1198. are simply wrong if run on a 030 processor. Chip memory is marked as
  1199. "cacheable", which is plain wrong. Already spoke to Michael Sinz who agrees
  1200. in that point. Don't use it, run "MuFastRom" instead.
  1201.  
  1202. - The MMU tables build by "SetCPU FastRom" are not very well suited for 
  1203. MuForce. The MMU library will replace the table layout by something more
  1204. adapted.
  1205.  
  1206. Since these programs may install a "bogus" exception vector, you shouldn't
  1207. run both programs with the "FastROM" option. If you absolutely want to do, 
  1208. run them *before* installing any MMU.lib related program and COP - remember, 
  1209. you have been warned. "MuFastROM" will do better anyhow.
  1210.  
  1211.  
  1212. - CMQ060.lha from the Aminet: This program uses the MOVE16 instruction to
  1213. "speed up" the copy mem routines of the Os. Besides that the speedup is
  1214. minimal, you should be informed that this instruction is not fully 
  1215. supported by the Amiga hardware. A MOVE16 into the chip memory could yield
  1216. to "strange and wonderful things", and may or may not work. Its burst
  1217. accesses simply don't fit into the DMA access mechanism of the Amiga 
  1218. custom chips. (Note that no other instruction will try burst accesses
  1219. into non-cacheable memory!)
  1220. Moreover, due to a firmware bug of the '040, a MOVE16 on a system using
  1221. virtual memory might be unreliable and cause undesired side effects. Do 
  1222. not run this program!
  1223.  
  1224. MOVE16 is one of the non-supported instructions in an Amiga system, others
  1225. are TAS, CAS and CAS2 (which are of little use in a single processor system).
  1226.  
  1227. For more detailed information of MOVE16, check either the enforcer.guide or
  1228. the motorola documentation, I'm not making this up, and this is not 
  1229. mmu.library related.
  1230.  
  1231. Known Bugs:
  1232. -----------
  1233.  
  1234.     The MMU table manager rebuilds currently the MMU tables for a
  1235.     complete memory block even if only a minor sub-block was changed.
  1236.     Therefore, it may take longer to build the MMU table than absolutely
  1237.     required. I decided not to change this behaiviour because it
  1238.     keeps the mmu tables clean and optimized and avoids fragmentation.
  1239.  
  1240.     The MMU library builds currently 68030 MMU tables with the
  1241.     REPAIRABLE flag set less efficient than it could. However, it 
  1242.     was felt that a consistent table layout is more helpful than the
  1243.     (minimal) speedup.
  1244.  
  1245.     The library does not yet contain a workaround for a 040 firmware
  1246.     bug: If an illegal, line A, chk or unimplemented floating point
  1247.     instruction is located at the last 16 bits of a page and the next
  1248.     page is not available, the 040 generates an access fault instead
  1249.     of the proper exception. The fault address is the address of the
  1250.     missing page, and the PC points to the instruction in the preceeding
  1251.     page. This doesn't matter too much currently, it might become
  1252.     relevant in a VM system.
  1253.  
  1254. These bugs will be fixed within the next releases of the library, including
  1255. all the other bugs you may find.
  1256.     
  1257. -----------------------------------------------------------------------------
  1258.  
  1259. Special thanks goes to:
  1260.  
  1261. -Ralph Babel for giving information about the CachePreDMA/CachePostDMA
  1262.  functions and for some internals allowing me to write the MuOmniSCSIPatch.
  1263. -Carsten Schlote for starting development of a mmu.library aware 68060.lib.
  1264. -Michael Sinz (a real BIG thank you!) for discussing a lot of details of
  1265.  CachePreDMA/CachePostDMA, for sending me the sources of these functions
  1266.  in his 68040, and especially - and that's really great - for making the
  1267.  Enforcer sources available and for allowing me to reuse the exception
  1268.  handler of the Enforcer. This will happen in one of the next releases.
  1269. -Bjoern Schmidt for allowing me to run some tests on his 060 and for
  1270.  keeping several afternoons free for me.
  1271. -All the testers for running tests and sending me detailed information about
  1272.  their systems.
  1273.  
  1274. Thank you to all of you, this project won't clearly possible without your
  1275. support!    
  1276.  
  1277. -----------------------------------------------------------------------------
  1278.  
  1279. What is this:
  1280. -------------
  1281.     The mmu.library provides functions for MMU related operations
  1282.     as write- or read-protecting certain areas of memory for a
  1283.     given set of tasks, or marking memory regions as "swapped"
  1284.     virtual memory support. It offers an abstraction level on top
  1285.     of the actual MMU and a unified interface for MMU purposes.
  1286.  
  1287.     The MMU lib does NOT implement virtual memory, that's the purpose
  1288.     of another library - the memory.library. There's no much reason why
  1289.     any application except the memory.library and probably some debugging
  1290.     tools should call this library directly. The memory.library functions
  1291.     on top of this library should suffer for "all day purposes".
  1292.  
  1293.     The goal of the mmu.library is to provide an "abstraction layer" on
  1294.     top of the hardware, to allow programs to make use of the memory
  1295.     management hardware of the more advanced members of the MC68K
  1296.     processor family. Programs using the functions of the mmu.library
  1297.     do not need to modify the MMU tables directly and hence will not
  1298.     conflict with each other. The mmu.library interface provides all
  1299.     necessary functions to do that. This will allow programs like
  1300.     Enforcer and VMM to cooperate nicely with each other, provided both
  1301.     use this library.
  1302.  
  1303.     
  1304. Known bugs and problems of this implementation:
  1305. -----------------------------------------------
  1306.  
  1307. Things that require testing:
  1308.  
  1309.     - TTx register parsing updated, again. Should work fine with all the
  1310.       printouts I've collected, but you may still want to test it.
  1311.     - 68851 code likely untested, but I'm getting better. 
  1312.       I NEED YOUR HELP!
  1313.     - GetPageProperties/SetPageProperties are likely tested by the
  1314.       MuGuardianAngel program.
  1315.     - Page access exception handlers only likely tested by 
  1316.       MuGuardianAngel.
  1317.  
  1318. Things not yet implemented:
  1319.  
  1320.     - Patches for ppc libraries due to missing support. The
  1321.       ppc.library will remain unsupported, if you're the owner of
  1322.       a PPC board, run WarpOs, which is compatible.
  1323.  
  1324. Things the current design does not allow:
  1325.  
  1326.     - The MAPP_USED and MAPP_MODIFIED flags are not kept consistent
  1327.       by the library except for MAPP_SINGLE pages. I consider this
  1328.       as a minor problem since single page mode is required for
  1329.       virtual memory anyways.
  1330.     - MMU tables using the function codes. The amiga design shouldn't
  1331.       allow this anyways, but I don't know whether there's a board
  1332.       that makes use of them. (Doesn't look like, though).
  1333.     - Boards with two different MMU's on board. I've heard some
  1334.       rumours that there are actually 68040 boards with an additional
  1335.       68851. 
  1336.  
  1337. Recommended reading:
  1338. --------------------
  1339.  
  1340. The following books are recommended reading:
  1341.  
  1342.  
  1343. Motorola 68030 Enhanced 32-bit Microprocessor User's Manual    
  1344.     MC68030UM/AD Rev.3
  1345.  
  1346. Motorola 68040 User's Manual                    
  1347.     M68040UM/AD Rev.1
  1348.  
  1349. Motorola 68060 User's Manual                    
  1350.     M68060UM/AD Rev.1
  1351.  
  1352. Motorola M68000 Family Programmer's Reference Manual        
  1353.     M68000PM/AD Rev.1
  1354.  
  1355. Amiga Hardware Reference Manual, 3rd ed.
  1356.     Addison-Wesley Publishing Company, Inc.
  1357.     ISBN 0-201-56776-8
  1358.  
  1359. Amiga ROM Kernal Reference Manual, 3rd ed., Volume "Libraries"
  1360.     Addison-Wesley Publising Company, Inc.
  1361.     ISBN 0-201-56774-1
  1362.  
  1363. The Amiga Guru Book, 2nd Ed.
  1364.     Ralph Babel, Taunusstein 1989,1993
  1365.  
  1366. Additional sources:
  1367.     The Amiga Developer CD V1.1 
  1368.  
  1369.     The Enforcer.guide.
  1370.  
  1371.     Michael Sinz's documentation in the AmigaMail, on the DevCD 1.1.
  1372.  
  1373. Final words:
  1374. ------------
  1375.  
  1376. The mmu.library and the memory library will be my last project for the Amiga. 
  1377. It depends a bit on what happens with the Amiga in the next two years whether 
  1378. a PPC version of this library is required or not; hence, after all, this
  1379. can't be much more than a toy project that came several years too late.
  1380.  
  1381. So long,
  1382.     Thomas
  1383.